<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加课程</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
</head>
<body class="childrenBody">
<form class="layui-form" id="form1">
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">课程ID</label>
      <div class="layui-input-block">
        <input type="text" class="layui-input" id="Cos_id" name="Cos_id" lay-verify="required" placeholder="请输入课程ID" disabled>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">课程名称</label>
      <div class="layui-input-block">
        <input type="text" class="layui-input" id="Cos_name" name="Cos_name" lay-verify="required"
               placeholder="请输入课程名">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">上课时间</label>
      <div class="layui-input-inline">
        <input type="text" class="layui-input" id="Cos_time" name="Cos_time" lay-verify="required"
               placeholder="请输入上课时间">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">课程学分</label>
      <div class="layui-input-block">
        <input type="text" class="layui-input" id="Cos_credit" name="Cos_credit" lay-verify="required"
               placeholder="请输入课程学分">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">授课教师</label>
      <div class="layui-input-inline">
        <select id="Cos_teacher" name="Cos_teacher" class="cosTeacher" lay-search>
          <option value="">请选择授课教师</option>
        </select>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">开课学院</label>
      <div class="layui-input-inline">
        <input type="text" class="layui-input" id="Cos_college" name="Cos_college" lay-verify="required"
               placeholder="请输入开课学院">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">课程网址</label>
    <div class="layui-input-block">
      <input type="text" class="layui-input" id="Cos_site" name="Cos_site" placeholder="请输入课程网址">
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">选课开始</label>
      <div class="layui-input-inline">
        <input type="text" id="Cos_stime" name="Cos_stime" class="layui-input course-time" placeholder="请选择选课开始时间"
               lay-verify="required" onclick="layui.laydate({elem:this, format: 'YYYY-MM-DD hh:mm:ss'})">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">选课结束</label>
      <div class="layui-input-inline">
        <input type="text" id="Cos_etime" name="Cos_etime" class="layui-input course-time" placeholder="请选择选课结束时间"
               lay-verify="required" onclick="layui.laydate({elem:this, format: 'YYYY-MM-DD hh:mm:ss'})">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">最大容量</label>
      <div class="layui-input-inline">
        <input type="text" id="Cos_maxNum" name="Cos_maxNum" class="layui-input" placeholder="请输入课程最大容量" lay-verify="required">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">课程介绍</label>
    <div class="layui-input-block">
      <textarea class="layui-textarea layui-hide" name="Cos_intro" lay-verify="content" id="Cos_intro"></textarea>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="editCourse">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="edit.js"></script>
</body>
</html>